from selenium import webdriver
from selenium.webdriver.common.by import By
from options import options

url=r'https://www.baidu.com/'
driver = webdriver.Chrome(options=options)
driver.get(url)
#绝对路径，不能有中文
driver.get_screenshot_as_file(r'')